package org.game.module.storebo.handler;

import java.util.Map;

import org.game.db.bean.Player;
import org.game.log.builder.LogDsp;
import org.game.manager.ItemManager;
import org.game.module.storebo.BuySuccessHandler;

/**
 * @author : DengYing
 * @CreateDate : 2018年5月30日 上午8:22:42
 * @Description ：Please describe this document
 */
public class BagHandler implements BuySuccessHandler {

	private BagHandler() {
	}

	private static BagHandler ME = new BagHandler();

	public static BagHandler me() {
		return ME;
	}
	
	@Override
	public void deliverGoods(Player player, Map map, LogDsp log) {
		// 添加物品
		ItemManager.addGoodsAndPush(player, null, null, map, log);
	}

}
